package com.fpinjava.functions.exercise02_02;

public class FunctionExamples {

  // Integer ->Integer
  public static final Function<Integer, Integer> triple = x -> x * 3;

  //Integer ->Integer
  public static final Function<Integer, Integer> square = x -> x * x;


  public static final Function<Integer, Integer> compose(final Function<Integer, Integer> f1,
                                                         final Function<Integer, Integer> f2) {
    throw new RuntimeException("To be implemented.");
  }
}
